package com.tencent.qf.team.service;

import com.tencent.qf.mybatis.pojo.PageRequest;
import com.tencent.qf.mybatis.pojo.PageResult;
import com.tencent.qf.team.dal.TyShareCodeReview;
import com.tencent.qf.team.dto.request.ShareCodeReviewRequest;

import java.util.List;

public interface ShareCodeReviewService {
    /**
     * 查询分享码浏览记录
     * @param request
     * @return
     */
    PageResult<TyShareCodeReview> queryShareReviews(PageRequest<ShareCodeReviewRequest> request);

    /**
     * 查询用户浏览记录
     * @param request
     * @return
     */
    List<TyShareCodeReview> queryViewRecords(ShareCodeReviewRequest request);
}
